﻿using Volo.Abp;

namespace CommonManagement
{
    /// <summary>
    /// 积分不足异常
    /// </summary>
    public class ScoreNotEnoughException : BusinessException
    {
        public ScoreNotEnoughException(
            int existingScore, int requiredScore)
            : base("CM:010102", $"积分不足，现有{existingScore}分，需要{requiredScore}分")
        {
        }
    }
}